package com.zx.mes.hyl.properties;

/**
 * rabbitmq constants(常用配置)
 * @author 华云龙
 * @date 2018-8-7
 */
public interface RabbitmqConstants {

    /**
     * 默认rabbitmq 交换机 持久化为false
     */
    boolean DEFAULT_RABBIT_MQ_EXCHANGE_DURABLE = false;

    /**
     * 默认rabbitmq 交换机 类型为 topic
     */
    String DEFAULT_RABBIT_MQ_EXCHANGE_TYPE = "topic";

    /**
     * ignoreDeclarationExceptions
     * 默认交换机声明异常忽略
     */
    boolean DEFAULT_RABBIT_MQ_EXCHANGE_IGNORE_DECLARATION_EXCEPTIONS = true;

    /**
     * 默认rabbitmq 队列 持久化为false
     */
    boolean DEFAULT_RABBIT_MQ_QUEUE_DURABLE = false;

}
